package io;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

/** 将所有的小写字母写入到文件fos.txt*/
public class Test {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos = new FileOutputStream("fos.txt");
        for (int i = 97; i <123 ; i++) {
            fos.write(i);
        }
        System.out.println("成功");
        fos.close();
    }
}
